import vControl from './version-control/index';

const install = function (Vue, options) {

  if (install.installed) return;

  install.installed = true;

  Vue.prototype.$check = vControl(Vue, options);

  if (options.exec) {
    Vue.$check()
  }
}

export default {
  install,
};
